﻿package com.uprr.app.tnm.events
{
    import flash.events.Event;

    public class FooEvent extends Event
    {
        public static const TYPE : String = "foo";
        
        public var col1 : String;
        public var col2 : String;
        
        public function FooEvent()
        {
            super(TYPE);
        }
        
        override public function clone() : Event
        {
            const fooEvent : FooEvent = new FooEvent();
            fooEvent.col1 = col1;
            fooEvent.col2 = col2;
            return fooEvent;
        }
        
        public function dispatch() : void
        {
            CentralDispatcher.instance.dispatchEvent(this);
        }
        
    }
}